<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-03 00:33:05
 * @LastEditTime: 2023-10-23 10:04:24
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 自主报工明细
 */

namespace App\Models;

use App\Traits\CommonUserTrait;
use App\Traits\MaterialTrait;
use App\Traits\SoftDeletesTrait;

class ProProDetail extends BaseModel
    {
    use SoftDeletesTrait;
    use MaterialTrait;
    use CommonUserTrait;
    public $timestamps = true;
    public $table = "sys_pro_pro_details";
    protected $guarded = [];
    protected $casts = [];

    public function process()
        {
        return $this->belongsTo(ProProcesses::class);
        }
    }
